package com.freely.dao;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.alibaba.fastjson.JSONObject;
import com.freely.domain.User;

public interface UserDao {

	List<User> findByCondition(DetachedCriteria criteria);

	void test(User user);

	void addUser(User user);

/*	int updatePassword(String user_email, String user_password);

	int updateOnline(boolean flag,Long user_id);*/

	int update(JSONObject modifyObj, JSONObject conditionObj);

}
